import React from "react"
import { UserList , UserHeadBar , FundSection , BottomSection } from "./user-components"
import Layout from "../layout"
import "./user.scss"
type C = {
  hasHeader: boolean
  hasTabBar: boolean
}
export class User extends React.Component<{}, {}> {
  render() {
    const layoutConfig:C = {
      hasHeader: false,
      hasTabBar: true
    }

    return (
      <Layout layoutConfig={layoutConfig}>
        <div className="user-page">
          <UserHeadBar />
          <FundSection />
          <UserList {...this.props}/>
          <BottomSection />
        </div>
      </Layout>
    )
  }
}


